package com.snail.dao;

import com.snail.entity.OrderMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author 【swg】.
 * @Date 2017/12/8 14:04
 * @DESC
 * @CONTACT 317758022@qq.com
 */
public interface OrderMasterDao extends JpaRepository<OrderMaster,String>{
    Page<OrderMaster> findByBuyerOpenid(String openid, Pageable pageable);
}
